#include "../server.hpp"

int main(int argc, char const *argv[])
{
    Socket cli_sock;
    cli_sock.CreateClient("127.0.0.1", 8085);
    for(int i = 0; i < 5;i++)
    {
        std::string str = "hello";
        cli_sock.Send((void *)str.c_str(), str.size());
        char buf[1024] = {0};
        cli_sock.Recv(buf, 1023);
        DBG_LOG("%s", buf);
        sleep(1);
    }
    while(1) sleep(1);
    return 0;
}
